<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%
	String basePath = request.getScheme() + "://" + request.getServerName()
			+ ":" + request.getServerPort() + request.getContextPath();
%>
<jsp:include page="/WEB-INF/page/auth/_header.jsp"></jsp:include>
<body>
	<jsp:include page="/WEB-INF/page/auth/header.jsp"></jsp:include>
	<div id="middle">
		<jsp:include page="/WEB-INF/page/auth/menu.jsp"></jsp:include>
		<div id="right">
			<div id="sign_up_teachertb">
		        <form id="sign_up_teacherForm" class="m10">
					<input type="hidden" id="schoolId" name="schoolId" value=""/>
		                              应聘时间：<input id="startDate" name="startDate" class="easyui-datebox" data-options="width:120" /> - <input id="endDate" name="endDate" class="easyui-datebox" data-options="width:120" />
		            <a class="easyui-linkbutton l-btn l-btn-small" data-options="iconCls:'icon-search'" onclick="searchForm('sign_up_teacher')">查询</a>
		            <a class="easyui-linkbutton l-btn l-btn-small" data-options="iconCls:'icon-clear'" onclick="resetForm('sign_up_teacher')">重置</a>
		            <a class="easyui-linkbutton" href="javascript:void(0)" data-options="iconCls:'icon-save'" onclick="outExcel('sign_up_teacher','<%=basePath%>/sys/signUp/teacher')">导出为EXCEL</a>
		        </form>
		    </div>
		    <table id="sign_up_teacherdg">
		        <thead>
		            <tr>
		                <th data-options="field:'name',title:'姓名'"></th>
						<th data-options="field:'phone',title:'联系电话'"></th>
						<th data-options="field:'idNo',title:'身份证号'"></th>
						<th data-options="field:'education',title:'学历'"></th>
						<th data-options="field:'university',title:'毕业学校'"></th>
						<th data-options="field:'major',title:'毕业专业'"></th>
						<th data-options="field:'nowCompany',title:'现工作单位'"></th>
						<th data-options="field:'position',title:'应聘岗位'"></th>
						<th data-options="field:'schoolAge',title:'教龄'"></th>
						<th data-options="field:'teacherCertification',title:'教师资格证'"></th>
						<th data-options="field:'titles',title:'职称'"></th>
						<th data-options="field:'prizes',title:'获奖荣誉'"></th>
						<th data-options="field:'workFeatures',title:'工作特长'"></th>
						<th data-options="field:'signUpTime',title:'应聘时间',formatter:function(value,row,index){
							return getTime(value,'yyyy-MM-dd hh:mm:ss');
						}"></th>
		            </tr>
		        </thead>
		    </table>
		</div>
	</div>
	<jsp:include page="/WEB-INF/page/auth/_footer.jsp"/>
	<script type="text/javascript">
		var url = basePath + "/sys/signUp/teacher";
		$(function(){
			initSchoolIdInputValue();
			initDatagrid('sign_up_teacher',url);
		});
		function initSchoolIdInputValue() {
			var v1 = $("#userSchoolId").val();
			$("#schoolId").val(v1);
		}
    </script>
</body>
</html>